package mirfordevoservice.system.req.inter_face;

/**
 * Created by Heart!
 *
 * @Author ZhangChaoJian
 * @Date ${Date}-22:40
 * Wants More Then Try Hard More!
 */

import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.net.Socket;

/**
 * 接受消息和发送消息的接口
 */
public interface ReqMessage {
    void receive(ObjectInputStream in, Socket socket);//接受消息

    void sendMsg(ObjectOutputStream out);//发送消息

    void receiveAndSend(ObjectInputStream in, ObjectOutputStream out, Socket socket);//接收并返回消息
}
